/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.openams.server.common;

import com.fasterxml.uuid.EthernetAddress;
import com.fasterxml.uuid.Generators;
import com.fasterxml.uuid.impl.TimeBasedGenerator;

/**
 *
 * @author mike
 */
public class UUIDGenerator {
    
    private static EthernetAddress nic = EthernetAddress.fromInterface();
    private static TimeBasedGenerator generator = Generators.timeBasedGenerator(nic);

    public static String get36CharUUID() {
        return generator.generate().toString();
    }
    
}
